package com.neu.mapper;

import com.neu.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    int insertUser(User user);

    int deleteUserByAccount(String account);

    int deleteUser(int id);

    int updateUser(User user);

    List<User> queryUserList();

    User queryUserByAccount(String account);

}
